package com.lg.consumer;

import com.lg.consumer.client.RpcClient;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class SpringBootConsumer   {//implements CommandLineRunner

    public static void main(String[] args) {

        SpringApplication.run(SpringBootConsumer.class, args);
    }

//    @Override
//    public void run(String... args) throws Exception {
//        new Thread(new Runnable() {
//            @Override
//            public void run() {
//                RpcClient rpcClient = new RpcClient("127.0.0.1",8899);
//            }
//        }).start();
//    }
}